package com.triones.yjj.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 地区表
 *
 * @Author: triones
 */
@TableName(value = "tr_region")
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class RegionDO {

    @TableId(value = "id")
    private Long id;

    private String code;

    private String name;

    private Integer level;

    private Long parentId;

    private Date createTime;
}
